﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">网站设置</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">订单详情</a></span>
            <div class="z-f-r"><span class="user-t"><a href="{$site_url}"  target="_blank">网站首页</a></span><span class="user-info"></span><a href="index.php?app=default&act=quit" onClick="return confirm('确认退出管理系统吗？');"   >退出管理</a></div>
        </div>
        <div class="top-menu">
        	<ul>
                                                <li><a href="index.php?app=do&act=order" target="mainframe">订单列表</a></li>
				<li class="current"><a href="#" >订单详情</a></li>				
			

  			
			
			
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">

<table  class="data" >
<tbody>
    <tr > 
      <td width="15%">顾客姓名:</td>
      <td width="85%">{$order.truename}</td>
    </tr>
    <tr > 
      <td width="15%">联系电话:</td>
      <td width="85%">{$order.telphone}</td>
    </tr>
    <tr > 
      <td width="15%">联系手机:</td>
      <td width="85%">{$order.mobphone}</td>
    </tr>
    <tr > 
      <td width="15%">联系邮箱:</td>
      <td width="85%">{$order.email}</td>
    </tr>
    <tr > 
      <td width="15%">联系QQ:</td>
      <td width="85%">{$order.oicq}</td>
    </tr>
    <tr > 
      <td width="15%">邮政编码:</td>
      <td width="85%">{$order.postalcode}</td>
    </tr>
    <tr > 
      <td width="15%">配送方式:</td>
      <td width="85%">{$order.sendtype}</td>
    </tr>
    <tr > 
      <td width="15%">支付方式:</td>
      <td width="85%">{$order.paytype} (<!--{if ($order.ifpay==1)}--><font color=blue>已付款(时间：{$order.paytime|dateymdgis})</font><!--{elseif ($order.status==0)}-->已取消<!--{else}--><font color=red>等待付款</font><!--{/if}-->)</td>
    </tr>
    <tr > 
      <td width="15%">联系地址:</td>
      <td width="85%">{$order.address}</td>
    </tr>
    <tr > 
      <td width="15%">附注留言:</td>
      <td width="85%">{$order.othersay}</td>
    </tr>
    <tr >
      <td width="15%">应付金额:</td>
      <td width="85%">{$order.totalmoney}元</td>
    </tr>
    <tr > 
      <td width="15%" valign="top">订购商品:</td>
      <td width="85%"> 
        <table width="638" border="0" cellspacing="2" cellpadding="4" style="background:#0066CC;">
          <tr align="center"> 
            <td width="30%" style="background:#0066CC;"><font color="#FFFFFF">商品名称</font></td>
            <td width="27%" style="background:#0066CC;"><font color="#FFFFFF">商品价格</font></td>
            <td width="13%" style="background:#0066CC;"><font color="#FFFFFF">数量</font></td>
          </tr>
       <?php foreach ( $product.product as $_key => $_value) { ?>
          <?php foreach ( $_value as $_key1 => $_value1) { ?>
		  <?php  $_value2 = $_key .'_'. $_value1.cat_id .'_'. $_value1.id ; ?>	    
          <tr bgcolor="#FFFFFF"> 
            <td width="30%"><a href="{SITE_URL}/?app={$moduledata[$_key]}&act=show&id={$_value1.id}" target="_blank">{$_value1.productname}</a></td>
            <td width="27%" align="center">{$_value1.nowprice}元</td>
            <td width="13%" align="center">{$product['buy'][$_value2]['3']}</td>
          </tr>
          <?php } ?> 		  
      <?php } ?> 
        </table>
      </td>
    </tr>

</tbody></table>
	
	
	


        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span ></span></div>
    </div>
</div>
<!--{inc(footer.view.html)}-->